<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>大复习项目</title>
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css" />
    <link rel="stylesheet" href="./assets/lib/d_all.css" />
    <link rel="stylesheet" href="./assets/css/login.css" />
  </head>
  <body>
    <div class="log_bg">
      <div class="main_body">
        <!-- 大事件图标 -->
        <div class="top">
          <img src="./assets/images/logo.png" alt="" />
        </div>
        <!-- 登录框 -->
        <div class="login_box">
          <!-- 标题 -->
          <div class="login_title"></div>
          <!-- 登陆表单 -->
          <form class="layui-form form_login" action="">
            <!-- 账号 -->
            <div class="layui-form-item">
              <i class="layui-icon layui-icon-username ico ico_uname"></i>   
              <input
                type="text"
                name="username"
                required
                lay-verify="required"
                placeholder="请输入用户名"
                autocomplete="off"
                class="layui-input"
              />
            </div>
            <!-- 密码 -->
            <div class="layui-form-item">
              <i class="layui-icon layui-icon-password ico ico_pwd"></i>   
              <input
                type="password"
                name="password"
                required
                lay-verify="required|pwd"
                placeholder="请输入密码"
                autocomplete="off"
                class="layui-input"
              />
            </div>
            <!-- 登录按钮 -->
            <div class="layui-form-item">
              <button class="layui-btn layui-btn-fluid btn_submit" lay-submit>
                登录
              </button>
            </div>
          </form>
          <!-- 注册表单 -->
          <form class="layui-form form_reg" action="">
            <!-- 账号 -->
            <div class="layui-form-item">
              <i class="layui-icon layui-icon-username ico ico_uname"></i>   
              <input
                type="text"
                name="username"
                required
                lay-verify="required"
                placeholder="请输入用户名"
                autocomplete="off"
                class="layui-input"
              />
            </div>
            <!-- 密码 -->
            <div class="layui-form-item reg-box">
              <i class="layui-icon layui-icon-password ico ico_pwd"></i>   
              <input
                type="password"
                name="password"
                required
                lay-verify="required|pwd"
                placeholder="请输入密码"
                autocomplete="off"
                class="layui-input"
              />
            </div>
            <!-- 确认密码 -->
            <div class="layui-form-item">
              <i class="layui-icon layui-icon-password ico ico_pwd"></i>   
              <input
                type="password"
                required
                lay-verify="required|pwd|repwd"
                placeholder="请再次输入密码"
                autocomplete="off"
                class="layui-input"
              />
            </div>
            <!-- 注册按钮 -->
            <div class="layui-form-item">
              <button class="layui-btn layui-btn-fluid btn_submit" lay-submit>
                注册
              </button>
            </div>
          </form>
          <!-- 切换 登录 和注册 -->
          <div class="toggle_login">
            <a href="javascript:;">去注册</a>
          </div>
        </div>
      </div>
    </div>
    <script src="./assets/lib/jquery.js"></script>
    <script src="./assets/lib/layui/layui.all.js"></script>
    <script src="./assets/lib/ajaxPrefilter.js"></script>
    <script src="./assets/js/login.js"></script>
  </body>
</html>
